<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>merchant</title>
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">
    <link rel="https://cdn.bootcss.com/bootstrap-table/1.12.1/bootstrap-table.css">
    <script src="https://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script src="https://cdn.bootcss.com/bootstrap-table/1.12.1/bootstrap-table.js"></script>
    <link rel="stylesheet" href="merchant.css">
    <script src="merchant.js"></script>
    <script src="searchmerchant.js"></script>
</head>

<body>
    <div class="series">
        <!-- 面包屑 -->
        <nav aria-label="breadcrumb">
            <ol class="breadcrumb">
                <li class="breadcrumb-item active"><a href="#">商户添加的停车场审核记录</a></li>
            </ol>
        </nav>
    </div>
    <!-- 内容 -->
    <div class="contents">
        <!-- 搜索栏 -->
        <div class="search">
            <div class="check">
                <form class="bs-example bs-example-form" role="form">
                    <form class="bs-example bs-example-form" role="form">
                        <div class="input-group">
                            <span class="input-group-addon">ID</span>
                            <input type="text" class="form-control" placeholder="name" id="merchantid">
                        </div>
                        <div class="input-group">
                            <span class="input-group-addon">添加起始日期</span>
                            <input type="date" class="form-control" id="merchantStime" name="user_date" />
                        </div>
                        <div class="input-group">
                            <span class="input-group-addon">添加结束日期</span>
                            <input type="date" class="form-control" id="merchantEtime" name="user_date" />
                        </div>
                        <div class="input-group">
                            <span class="input-group-addon">是否处理</span>
                            <select name="dealer_id" id="merchantflag" class="selectpicker show-tick form-control" data-width="98%" data-first-option="false"
                                title='广告图片导航类型' required data-live-search="true">
                                <option value="1">已处理</option>
                                <option value="0">未处理</option>
                            </select>
                        </div>
                        <!-- 新增 -->
                        <button type="button" class="btn btn-warning btn-sm" onclick="searchmerchant()">
                            搜索 <span class="glyphicon glyphicon-search"></span>
                        </button>
                    </form>
            </div>
            <table class="table table-bordered table-hover" id="merchanttable">
            </table>
        </div>
        <!-- 详情 -->
        <div class="detailsmerchant">
            <form action="">
                <div id="myCarousel" class="carousel slide">
                    <!-- 轮播（Carousel）项目 -->
                    <div class="carousel-inner" id="lunbo">
                    </div>
                    <!-- 轮播（Carousel）导航 -->
                    <a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
                        <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
                    </a>
                    <a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
                        <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
                    </a>
                </div> 
                <!-- 查询页面 -->
                <ul class="list-group">
                    <li class="list-group-item"> 名称：
                        <p id="name">佳圆大厦地下停车场</p>
                    </li>
                    <li class="list-group-item">地址：
                        <p id="address">佳圆大厦地下停车场</p>
                    </li>
                    <li class="list-group-item">停车场类型：
                        <p id="contentype">佳圆大厦地下停车场</p>
                    </li>
                    <li class="list-group-item">审核状态：
                        <p id="status">佳圆大厦地下停车场</p>
                    </li>
                    <li class="list-group-item">总车位数：
                        <p id="total">66</p>
                    </li>
                    <li class="list-group-item">联系电话：
                        <p id="phone">66</p>
                    </li>
                    <li class="list-group-item">经营者全称：
                        <p id="namefull">王</p>
                    </li>
                </ul>
                <ul class="list-group">
                    <li class="list-group-item">经营者手机：
                        <p id="phoneMana">15577209917</p>
                    </li>
                    <li class="list-group-item">经营者时间：
                        <p id="timeMana">09:35-09:35</p>
                    </li>
            
                    <li class="list-group-item">收费信息：
                        <p><span id="shoufei"></span></p>
                    </li>
                    <li class="list-group-item">添加时间：
                        <p id="tianjia">2018-05-25 09:36:30</p>
                    </li>
                    <li class="list-group-item">处理时间：
                        <p id="chulitime">2018-05-25 09:36:30</p>
                    </li>
                    <li class="list-group-item">处理人员ID：
                        <p id="chilipeple">1004</p>
                    </li>
                    <li class="list-group-item">处理人姓名：
                        <p id="chuliname">李圆月</p>
                    </li>
                </ul>
                <button class="btn btn-primary" onclick="backmerchant()">返回</button>
            </form>
        </div>
        <!-- 模态框 -->
        <!-- 模态框（Modal） -->
        <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                            &times;
                        </button>
                        <h4 class="modal-title" id="myModalLabel">
                            admin.52carlife.com显示
                        </h4>
                    </div>
                    <div class="modal-body">
                        <span id="modal-input">确认停用</span>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default" data-dismiss="modal">关闭
                        </button>
                        <button type="button" class="btn btn-primary" onclick="changeStata()">
                            提交更改
                        </button>
                    </div>
                </div>
            </div>
        </div>
</body>

</html>